package org.wms.minbearwcs.dao.agv.impl;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Repository;
import org.wms.minbearwcs.dao.agv.inf.AgvMissionDao;
import org.wms.minbearwcs.entity.Mapper.agv.AgvMissionMapper;
import org.wms.minbearwcs.entity.PO.agv.AgvMission;

@Repository
@RequiredArgsConstructor
public class AgvMissionDaoImpl  implements AgvMissionDao {

    private final AgvMissionMapper mapper;

    @Override
    public boolean insert(AgvMission agvMission) {
        return mapper.insert(agvMission) == 1;
    }
}
